package com.shop.mapper;

import com.shop.pojo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IOrderMapper {
    List<OrderVO> getOrderList(@Param("query") String query, @Param("offset") int offset, @Param("pageSize") int pageSize);

    int getTotalOrders(@Param("query") String query);
}
